package com.hqyj.hrms.config;


import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Description MybatisPlus 分页配置
 * @Autor 伍军
 * @Date 2021/9/14 13:26
 * @Version 1.0
 **/
@Configuration
public class MybatisPlusPaginationConfig {
    @Bean
    public PaginationInterceptor paginationInterceptor() {
        return new PaginationInterceptor();
    }
}

